home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / pcb / pcb145ad.zip / PCBTEST.BAT < prev    next >
DOS Batch File  |  1991-10-17  |  487b  |  27 lines

  1. @echo off
  2.  
  3. echo ■ Checking for included FILE_ID.DIZ for description
  4. if %2 == UPLOAD pcbdesc %1 %3
  5.  
  6. testfile %1 arc zip
  7. if errorlevel == 98 goto end
  8. if errorlevel == 2 goto zip
  9. if errorlevel == 1 goto arc
  10. goto end
  11.  
  12. :zip
  13. echo ■ Testing ZIP file integrity
  14. pkunzip -t %1 > pcbfail.txt
  15. if errorlevel == 1 goto end
  16. del pcbfail.txt
  17. goto end
  18.  
  19. :arc
  20. echo ■ Testing ARC file integrity
  21. pkxarc -t %1 > pcbfail.txt
  22. if errorlevel == 1 goto end
  23. del pcbfail.txt
  24. goto end
  25.  
  26. :end
  27.